package com.jsh.erp.datasource.entities;

import lombok.Data;

import java.util.Date;


@Data
public class Tenant {
    private Long id;

    private Long tenantId;

    private String loginName;

    private Integer userNumLimit;

    private String type;

    private Boolean enabled;

    private Date createTime;

    private Date expireTime;

    private String remark;

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}